﻿using System;
using System.ServiceModel;
using Framework.Core;

namespace Framework.Remoting.Hosting
{
    internal interface IServiceHostFactory<T>
        where T : ServiceHost
    {
        T Create(Type serviceType, EnvMode envMode);
        void Close(T host);
    }
}